package cn.bone.stress.bean;

import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Id;

import java.util.Date;

/**
 * Created by superbone on 2017/3/30.
 * 异常信息记录
 */
@Entity("errorRecord")
public class ErrorRecord {

    @Id
    private String id;
    private String exceptionClass;
    private String exceptionMessage;
    private String exceptionPoint;
    private String exceptionLocalizedMessage;
    private String methodName;
    private Date createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getExceptionClass() {
        return exceptionClass;
    }

    public void setExceptionClass(String exceptionClass) {
        this.exceptionClass = exceptionClass;
    }

    public String getExceptionMessage() {
        return exceptionMessage;
    }

    public void setExceptionMessage(String exceptionMessage) {
        this.exceptionMessage = exceptionMessage;
    }

    public String getExceptionPoint() {
        return exceptionPoint;
    }

    public void setExceptionPoint(String exceptionPoint) {
        this.exceptionPoint = exceptionPoint;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getExceptionLocalizedMessage() {
        return exceptionLocalizedMessage;
    }

    public void setExceptionLocalizedMessage(String exceptionLocalizedMessage) {
        this.exceptionLocalizedMessage = exceptionLocalizedMessage;
    }
}
